import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
	routes: [{
		path: "/",
		redirect: "/homeC1"
	}, {
		path: '/homeC1',
		component: function(resolve) {
			require(['../components/homeC1.vue'], resolve)
		}
	}, {
		path: '/homeC2',
		component: function(resolve) {
			require(['../components/homeC2.vue'], resolve)
		}
	}, {
		path: '/homeC3',
		component: function(resolve) {
			require(['../components/homeC3.vue'], resolve)
		}
	}, {
		path: '/walletInfo',
		component: function(resolve) {
			require(['../components/walletInfo.vue'], resolve)
		}
	}, {
		path: '/addCurrency',
		component: function(resolve) {
			require(['../components/addCurrency.vue'], resolve)
		}
	}, {
		path: '/transactionRecord',
		component: function(resolve) {
			require(['../components/transactionRecord.vue'], resolve)
		}
	}, {
		path: '/messageCenter',
		component: function(resolve) {
			require(['../components/messageCenter.vue'], resolve)
		}
	}, {
		path: '/messageDetail',
		component: function(resolve) {
			require(['../components/messageDetail.vue'], resolve)
		}
	}, {
		path: '/contacts',
		component: function(resolve) {
			require(['../components/contacts.vue'], resolve)
		}
	}, {
		path: '/sys',
		component: function(resolve) {
			require(['../components/sys.vue'], resolve)
		}
	}, {
		path: '/backups',
		component: function(resolve) {
			require(['../components/backups.vue'], resolve)
		}
	}, {
		path: '/addContacts',
		component: function(resolve) {
			require(['../components/addContacts.vue'], resolve)
		}
	}, {
		path: '/aboutUs',
		component: function(resolve) {
			require(['../components/aboutUs.vue'], resolve)
		}
	}, {
		path: '/helpCenter',
		component: function(resolve) {
			require(['../components/helpCenter.vue'], resolve)
		}
	}, {
		path: '/personCenter',
		component: function(resolve) {
			require(['../components/personCenter.vue'], resolve)
		}
	}, {
		path: '/login',
		component: function(resolve) {
			require(['../components/login.vue'], resolve)
		}
	}, {
		path: '/qrcodeInfo',
		component: function(resolve) {
			require(['../components/qrcodeInfo.vue'], resolve)
		}
	}]
})